def x(n,s):
    if n==0:
        return s
    return x(n-1,2*(s+1))

n,s =10,1
print(x(n,s))